Packetery\Module\Plugin A

Total Complexity 61
Dependencies 48
Dependents 8
Total lines 844
Lines of code 384
Logical lines of code 180
Comment lines 143
Methods 26
Properties 26

Methods 26

Method Rating Maintainability Complexity Lines of code
enqueueAdminAssets()
A
45 14 40
run()
S
40 2 65
renderEmailFooter()
S
48 4 33
renderOrderDetail()
S
51 4 28
uninstall()
S
56 4 17
renderDeliveryDetail()
S
48 2 32
hideSubmenuItem()
S
63 4 10
echoInactiveWooCommerceNotice()
S
61 2 14
renderConfirmModalTemplate()
S
60 2 14
__construct()
S
50 1 28
enqueueFrontAssets()
S
66 2 8
shouldDisplayPickupPointInfo()
S
79 2 3
addPluginRowMeta()
S
64 2 9
loadTranslation()
S
63 2 10
transformGetOrdersQuery()
S
70 2 6
getLocale()
S
69 2 7
addPluginActionLinks()
S
66 1 7
add_shipping_method()
S
76 1 4
buildAssetUrl()
S
70 1 5
init()
S
65 1 10
add_menu_pages()
S
70 1 7
enqueueStyle()
S
67 1 8
enqueueScript()
S
66 1 9
createLinkParts()
S
74 1 4
isWooCommercePluginActive()
S
80 1 3
getAppIdentity()
S
77 1 3